package cn.plaso.test.question;

import java.util.List;

import cn.plaso.test.util.FileUtil;

public class RomanNum {

	public static void main(String[] args) {
		test();
	}

	public static String convert(int a) {

		String c = "";
		return c;
	}

	private static void test() {

		List<String> numbers = FileUtil.readFileByLines("d:/test/question/4/number.txt");
		List<String> answers = FileUtil.readFileByLines("d:/test/question/4/answer.txt");
		int length = numbers.size();
		if(answers.size() != length) {
			System.out.println("测试用例有误");
		}
		for(int i=0;i<length;i++) {
			int numberToken = Integer.valueOf(numbers.get(i).trim());	
			if (answers.get(i).equals(convert(numberToken))) {
				System.out.println(String.format("%d pass", i));
			} else {
				System.out.println(String.format("%d failed", i));
			}
		}
		
	}

}
